#include "Layer.h"

#include "Tile.h"

Layer::Layer(void)
{
}


Layer::~Layer(void)
{
}

void Layer::AddTile( Tile *pNewTile )
{
	m_lTiles.push_back( pNewTile );
	
	//NB: This new tile is holding a reference to the source image.
	//		So this function should probably do some ref counting.
}

void Layer::SetFilePath(const char * p)
{
	Filepath.clear();
	Filepath = p;
}

